var mongoose = require("./connect");
var Schema = mongoose.Schema
var reserveSchema =new Schema({
    name:String,   //姓名
    rID:Number,  //房间号
    date:String,//入住日期
    ispresent:Boolean,//是否已入住
})
var reserveModel = mongoose.model('reservation',reserveSchema) //定义一个操作对应表的，模型对象

module.exports = reserveModel